package com.example.neteaseplay;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;

public class DiscView extends RelativeLayout {

    private ImageView mIvDisc;
    private View mParent;

    public DiscView(Context context) {
        this(context, null);
    }

    public DiscView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public DiscView(Context context, AttributeSet attrs, int defStyleAttr) {
        this(context, attrs, defStyleAttr, 0);
    }

    public DiscView(Context context, AttributeSet attrs, int defStyleAttr,
            int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        // TODO Auto-generated constructor stub
        mParent = LayoutInflater.from(context).inflate(R.layout.disc_view,
                this, true);
        mIvDisc = (ImageView) mParent.findViewById(R.id.ivDisc);
        initView();
    }

    private void initView() {
        RoundedBitmapDrawable 
    }
    
    public void play() {

    }

    public void stop() {

    }
}
